﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Timo.Model.Timo.dbo.Base;

namespace Timo.Model.Timo.dbo.Sys;

[Tenant("Timo")]//指定租户库
[SugarTable("dbo.SysUser", "系统用户表")]
public class SysUser
{
    /// <summary>
    /// Id
    /// </summary>
    [SugarColumn(ColumnDescription = "Id",IsIdentity =true)]
    public long Id { get; set; }

    /// <summary>
    /// Name
    /// </summary>
    [SugarColumn(ColumnDescription = "名称", Length = 50)]
    [MaxLength(50)]
    public string? Name { get; set; }
}
